
import pymysql
import sys
import os
import importlib
import requests
importlib.reload(sys)
import  uuid
import imghdr
print(sys.getdefaultencoding())
from bs4 import BeautifulSoup
CurrentPath = os.getcwd()
print(os.path)
#print (sys.argv[0])
dirs=os.path.split( os.path.realpath( sys.argv[0] ))
#print (dirs[0]+os.sep+"html"+os.sep+"img")

page=requests.get("http://125.222.144.11/kejijw/channel.asp?id=42")
print(page.content)
html=page.content
nodes= BeautifulSoup(html,"html5lib",from_encoding='utf-8')